-- GGELUA
-- @Author: baidwwy
-- @Date:   2020-11-03 00:48:47
-- @Last Modified by:   baidwwy
-- @Last Modified time: 2020-11-03 02:14:23
local string = string
local _ENV = require "ghpsocket.hpsocket"

function 取版本()
    local v = GetHPSocketVersion()
    return string.format("%d.%d.%d.%d", v>>24,v>>16&255,v>>8&255,v&255)
end

function 取主机地址(host)
    return GetIPAddress(host)
end


return _ENV